package com.kunlun.basedata.organize.model.vo;

import com.kunlun.basedata.limit.model.vo.CorrelateVo;
import com.kunlun.basedata.organize.model.ApplicationModel;

public class ApplicationVo extends ApplicationModel {

    private String targetId;

    public ApplicationVo() {}

    public ApplicationVo(CorrelateVo correlateVo) {
        this.setId(correlateVo.getSubjectId());
        this.setName(correlateVo.getSubjectName());
        this.setTargetId(correlateVo.getTargetId());
        this.setIcon(correlateVo.getVirtualParent());
        this.setUrl(correlateVo.getVirtualId());
        this.setDescribe(correlateVo.getVirtualCode());
    }

    public String getTargetId() {
        return targetId;
    }

    public void setTargetId(String targetId) {
        this.targetId = targetId;
    }
}
